*********** Meaningful shifts of positions 
* shift to next higher meaningful value
replace comm=comm+25  in 1/2 if 		   comm!=. & issue_cat==1 /* all values */
replace comm=comm+25  in 1/2 if comm<50  & comm!=. & issue_cat==2 /* 0-25-50-100 */
replace comm=comm+50  in 1/2 if comm==50 & comm!=. & issue_cat==2
replace comm=comm+25  in 1/2 if comm!=25 & comm!=. & issue_cat==3 /* 0-25-75-100 */
replace comm=comm+50  in 1/2 if comm==25 & comm!=. & issue_cat==3
replace comm=comm+50  in 1/2 if comm==0  & comm!=. & issue_cat==4 /* 0-50-75-100 */
replace comm=comm+25  in 1/2 if comm>=50 & comm!=. & issue_cat==4
replace comm=comm+25  in 1/2 if comm==0  & comm!=. & issue_cat==5 /* 0-25-100 */
replace comm=comm+75  in 1/2 if comm==25 & comm!=. & issue_cat==5 
replace comm=comm+50  in 1/2 if 		   comm!=. & issue_cat==6 /* 0-50-100 */
replace comm=comm+75  in 1/2 if comm==0  & comm!=. & issue_cat==7 /* 0-75-100 */
replace comm=comm+25  in 1/2 if comm==75 & comm!=. & issue_cat==7
replace comm=comm+100 in 1/2 if 		   comm!=. & issue_cat==8 /* 0-100 */

* shift to next lower meaningful value
replace comm=comm-25  in 3/4 if 			comm!=. & issue_cat==1 /* all values */
replace comm=comm-25  in 3/4 if comm<=50  & comm!=. & issue_cat==2 /* 0-25-50-100 */
replace comm=comm-50  in 3/4 if comm==100 & comm!=. & issue_cat==2
replace comm=comm-25  in 3/4 if comm!=75  & comm!=. & issue_cat==3 /* 0-25-75-100 */
replace comm=comm-50  in 3/4 if comm==75  & comm!=. & issue_cat==3
replace comm=comm-50  in 3/4 if comm==50  & comm!=. & issue_cat==4 /* 0-50-75-100 */
replace comm=comm-25  in 3/4 if comm>50   & comm!=. & issue_cat==4
replace comm=comm-25  in 3/4 if comm==25  & comm!=. & issue_cat==5 /* 0-25-100 */
replace comm=comm-75  in 3/4 if comm==100 & comm!=. & issue_cat==5 
replace comm=comm-50  in 3/4 if 			comm!=. & issue_cat==6 /* 0-50-100 */
replace comm=comm-75  in 3/4 if comm==75  & comm!=. & issue_cat==7 /* 0-75-100 */
replace comm=comm-25  in 3/4 if comm==100 & comm!=. & issue_cat==7
replace comm=comm-100 in 3/4 if 			comm!=. & issue_cat==8 /* 0-100 */

* change values to lower and upper boundary
replace comm=100 if comm>100 
replace comm=0   if comm<0 
